package com.smarthospital.contants;

public interface SHConst {
    String SH_TOKEN = "SH_TOKEN";
    String JWT_PAYLOD_KEY = "JWT_PAYLOD_KEY";
    //对称加密key  这个长度应该是只能刚好16位
    String AES_SECRET = "SHAABGAAAATTTTAA";


    interface order_status{
        Integer STATUS_0 = 0;
        Integer STATUS_1 = 0;
        Integer STATUS_2 = 0;
        Integer STATUS_3 = 0;
        Integer STATUS_4 = 0;
    }

    interface redis_key{
        String addOrder = "s:app:addOrder:%s";
        String updateOrder = "s:app:updateOrder:%s";
        String complateOrder = "s:app:complateOrder:%s";
        String prePayOder = "s:app:prePayOder:%s";
        String optSend = "s:app:optSend:%s:%s:%s";
        String bus_optSend = "s:app:bus:optSend:%s:%s:%s";
        String fileUpload = "s:app:fileUpload:%s";
        String videoAdvice_time = "s:app:videoAdvice_time:%s";
        String getRegistId = "s:app:getRegistId";
        String generateRefundsId = "s:app:generateRefundsId";
        String generateImmessageId = "s:app:generateImmessageId";
        String generateTRTCRoomId = "s:app:generateTRTCRoomId";
        String startIM ="s:app:startIM:%s";
        String getOneceString ="s:app:getOneceString";
        String getWxPayId ="s:app:getWxPayId";
        String getReportId ="s:app:getReportId";
    }

    interface WXPay_urls{
        //{out_trade_no}  关闭订单
        String closeOrder="https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/%s/close";
        //下单
        String prePayOrder = "https://api.mch.weixin.qq.com/v3/pay/transactions/jsapi";
        //查询订单{transaction_id}  orderId mchid商户id
        String queryOrder = "https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/%s?mchid=%s";
        //退款
        String refunds = "https://api.mch.weixin.qq.com/v3/refund/domestic/refunds";
        String certificates = "https://api.mch.weixin.qq.com/v3/certificates";
    }

}
